//
//  TLViewHUD.h
//  FunnyVideo
//
//  Created by 李鑫 on 15/9/3.
//  Copyright © 2015年 NewEggTech. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    TLErrorTypeNoNet,
    TLErrorTypeData,
    TLErrorTypeServer,
} TLErrorType;

typedef void (^TLViewHUDClickBlock)(void);
@interface TLViewHUD : UIControl


+ (void)showIn:(UIView *)view type:(TLErrorType)errorType;
+ (void)showIn:(UIView *)view type:(TLErrorType)errorType tapBlock:(TLViewHUDClickBlock)block;

+ (void)dismiss;
@end
